<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<jsp:include page="/admin/view/main/header.jsp"/>

<!-- business code start -->

<form id="frm_login_adinfo" action="index.html" method="post" class="definewidth m20">
<table class="table table-bordered table-hover definewidth m10">
    <tr>
        <td width="10%" class="tableleft">帖子标题</td>
        <td><input type="text" name="roleName"/></td>
    </tr>
    <tr>
        <td class="tableleft">帖子内容</td>
        <td>
        	<textarea rows="" cols=""></textarea>
        </td>
    </tr>
    <tr>
        <td class="tableleft">帖子图片</td>
        <td>
        	<input id="picPath" type="file" name="roleCode" onchange="checkPic()"/>
        </td>
    </tr>
 
    <tr>
        <td class="tableleft"></td>
        <td>
            <button type="submit" class="btn btn-primary" type="button">保存</button> &nbsp;&nbsp;<button type="button" class="btn btn-success" name="backid" id="backid">返回列表</button>
        </td>
    </tr>
</table>
</form>
<!-- business code end -->

<jsp:include page="/admin/view/main/footer.jsp"/>
<script src="<%=request.getContextPath()%>/admin/js/business/technology/info/info.js"></script>

<script>
    $(function () {       
		$('#backid').click(function(){
				window.location.href="<%=request.getContextPath()%>/admin/view/technology/info/infolist.jsp";
		 });

    });
</script>
